package com.zzq.service.impl;

import com.zzq.domain.dto.SmileClientDTO;
import com.zzq.domain.search.ClientSearchParamet;
import com.zzq.result.SmileResult;
import com.zzq.service.ClientAdminService;
import com.zzq.service.SmileClientService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ClientAdminServiceImpl implements ClientAdminService {


    @Autowired
    SmileClientService clientService;

    @Override
    public SmileResult getSmileClientDTOList(ClientSearchParamet searchParamet) {
        List<SmileClientDTO> smileClientDTOList = clientService.getSmileClientDTOList(searchParamet);
        return SmileResult.sucess("获取成功",smileClientDTOList);
    }
}
